#pragma once
#include "../view/View.h"

class Controller {
private:
	View* view;
	bool flagContinue;

public:
	Controller(void);
	virtual bool loadView() { return 0; };
	virtual void updateView() {};
	virtual void updateModel() {};
	virtual Controller* handleEvent(SDL_Event* event) { return NULL; };

	View* Controller::getView();
	void Controller::setView(View* view);

	virtual bool Controller::getFlagContinue() { return this->flagContinue; };
	virtual void Controller::setFlagContinue(bool flagContinue) { this->flagContinue = flagContinue; };

	virtual ~Controller(void) {};
};

